<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri= "/WEB-INF/c.tld" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<%@page import="af.Form.LoginForm"%><html>
<head>
<link href="css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
window.onload = function(){
    if (document.getElementById("msg"))  
        if (document.getElementById("msg").value != "")
		{
            alert(document.getElementById("msg").value);
			document.getElementById("msg").value = "";
		}
};


</script>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>::Inicio::</title>
</head>
<body>
<html:form action='login.do' method='post'>
<table align="center">
<tr><td colspan="2" class="encabezado" width='500px'>Acceso al sistema</td></tr>
<tr>
	<td>Username:</td>
	<td><html:text property ="username" ></html:text></td>
</tr>
<tr>
	<td>Password:</td>
	<td><html:password property ="password" ></html:password></td>
</tr>
<tr>
	<td>
	
	</td>
	<td>
	<html:submit property="enviar" value="Entrar"></html:submit>
	</td>	
</tr>
<tr><td colspan='2'><hr></hr></td></tr>
</table>
</html:form>
</body>
</html>